<template>
  <van-nav-bar :title="route.meta.title">
    <template #left v-if="!route.meta.tabbar">
      <van-icon name="arrow-left" @click="router.back()"></van-icon>
    </template>
  </van-nav-bar>
</template>

<script lang="ts" setup>
import { ref, reactive } from 'vue';
import { useRouter, useRoute } from 'vue-router';

const route = useRoute();
const router = useRouter();
</script>

<style lang="scss" scoped></style>
